Show the grip_window if necessary.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 9 Nov 2004 15:35:27 +0000 (15:35 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 9 Nov 2004 15:35:27 +0000 (15:35 +0000)
2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip):
Show the grip_window if necessary.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkstatusbar.c

index 05552b823b25fe539b7f413432d2187311655804..3a0b4e2c2ead4566787b62d8c4c2178d64a1021e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,11 @@
 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): 
+       Show the grip_window if necessary.  
+
        * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
        clear the triangle below the grip to the background,
-       not the full area.
+       not the full area. 
 
        * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): 
        Clip when drawing the cursor. This prevents bits of a
index 05552b823b25fe539b7f413432d2187311655804..3a0b4e2c2ead4566787b62d8c4c2178d64a1021e 100644 (file)
@@ -1,8 +1,11 @@
 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): 
+       Show the grip_window if necessary.  
+
        * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
        clear the triangle below the grip to the background,
-       not the full area.
+       not the full area. 
 
        * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): 
        Clip when drawing the cursor. This prevents bits of a
index 05552b823b25fe539b7f413432d2187311655804..3a0b4e2c2ead4566787b62d8c4c2178d64a1021e 100644 (file)
@@ -1,8 +1,11 @@
 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): 
+       Show the grip_window if necessary.  
+
        * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
        clear the triangle below the grip to the background,
-       not the full area.
+       not the full area. 
 
        * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): 
        Clip when drawing the cursor. This prevents bits of a
index 05552b823b25fe539b7f413432d2187311655804..3a0b4e2c2ead4566787b62d8c4c2178d64a1021e 100644 (file)
@@ -1,8 +1,11 @@
 2004-11-09  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkstatusbar.c (gtk_statusbar_set_has_resize_grip): 
+       Show the grip_window if necessary.  
+
        * gtk/gtkstyle.c (gtk_default_draw_resize_grip): Only
        clear the triangle below the grip to the background,
-       not the full area.
+       not the full area. 
 
        * gtk/gtklabel.c (draw_insertion_cursor, gtk_label_expose): 
        Clip when drawing the cursor. This prevents bits of a
index e14ccfeb53948f0964a6abc4e208a42224c4c366..c7cb374a8a07a23f902c00d28dcde5ca7708180d 100644 (file)
@@ -416,7 +416,10 @@ gtk_statusbar_set_has_resize_grip (GtkStatusbar *statusbar,
       if (GTK_WIDGET_REALIZED (statusbar))
         {
           if (statusbar->has_resize_grip && statusbar->grip_window == NULL)
-            gtk_statusbar_create_window (statusbar);
+           {
+             gtk_statusbar_create_window (statusbar);
+             gdk_window_show (statusbar->grip_window);
+           }
           else if (!statusbar->has_resize_grip && statusbar->grip_window != NULL)
             gtk_statusbar_destroy_window (statusbar);
         }